package demo1;


import sun.applet.resources.MsgAppletViewer_pt_BR;

import java.util.Set;

class Test1 {
    private static String name;
    public void fun() throws Exception {
        int n = 10;
        if (n == 10) {
            throw new Exception();
        }
    }
    static {
        name = "World";
        System.out.println(name);
    }
}
public class Test {

    public static void main(String[] args) {

    }

}
